﻿using QInfrastructure.Models.SystemManager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QInfrastructure.Interfaces.SystemManager;


public interface TSystemMenu:TService
{

    #region 系统菜单功能
    public void AddOrUpdateSystemMenu(SystemMenu menu);
    public List<SystemMenu> GetSystemMenuQuery(SystemMenu sysMenu);
    public List<SystemMenu> GetSystemMenuList();
    public SystemMenu GetSystemMenuById(int id);
    public void DeleteSystemMenu(int id);

    #endregion

    /// <summary>
    /// 导航菜单查询
    /// </summary>
    /// <param name="UserId"></param>
    /// <returns></returns>
    public List<SystemMenu> GetSystemMenuTree(Guid UserId);



}
